#ifndef SWEEPS_H
#define SWEEPS_H

#include "Customer_Obj.h"
#include "sync.h"
#include "queue.h"
#include "control.h"

class sweeps{
      
     public:
            sweeps();
            sweeps(sync *sync_object, control *control_object);
            void add2queue(Customer_Obj customer);
            Customer_Obj register_dequeue();
            Customer_Obj peek();
            string draw_winner();
            void show_stats();
            int sweeps_size();
            int line_size();

     private:
             queue sweepsline;
             sync *sync_obj;
             control *control_obj;
             string entries[1000];
             int numEntries;
             string winner;
             
             
};

#endif
